package com.liuyi.netty.im.commons.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Mr.Fmy
 * @since 2021-12-08
 */
public class GroupModel {

    @Data
    public static class DissolveGroup implements Serializable {

        private static final long serialVersionUID = 4911357149574838625L;
        /**
         * 群聊id
         */
        private String groupId;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class AddOrQuitGroup implements Serializable {

        private static final long serialVersionUID = -228754916843205597L;


        /**
         * 用户id
         */
        private String uid;


        /**
         * 群组id
         */
        private String groupId;
    }
}
